package com.hengxinguotong.hxgtwygsp.ui.commonFacility;

import com.hengxinguotong.hxgtwygsp.R;
import com.hengxinguotong.hxgtwygsp.ui.base.DialogActivity;
import com.hengxinguotong.hxgtwygsp.ui.imgView.ImgViewFragment;

import javax.inject.Inject;

/**
 * 公共设施
 * Created by CS-Yong
 * 2019/8/30  15:19
 */
public class CommonFacilityActivity extends DialogActivity {

    @Inject
    MaintainFacilityFragment mMaintainFacilityFragment;
    @Inject
    ImgViewFragment mCurrentFacilityFragment;


    @Override
    public void initFragmentList() {
        dialogTitle.setText(R.string.main_common_facility);
        mCurrentFacilityFragment = ImgViewFragment.getInstance(R.mipmap.iv_current_facility);
        mCurrentFacilityFragment.setTabText(getString(R.string.main_current_facility));
        baseTabFragmentList.add(mCurrentFacilityFragment);
        mMaintainFacilityFragment.setTabText(getString(R.string.main_maintain_facility));
        baseTabFragmentList.add(mMaintainFacilityFragment);

    }
}
